Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change product name to LottieSPM #20

Closed
wants to merge 1 commit into from
Closed

Conversation

mBellar
Copy link

@mBellar mBellar commented Jan 31, 2024

This pull request addresses the potential naming conflict between the original Lottie package and the forked Lottie-spm package. To prevent conflicts and enable seamless integration of both packages, the product name in the Lottie-spm package has been updated.

@calda
Copy link
Member

calda commented Feb 1, 2024

I don't think we can do this, because I believe it is a breaking change for consumers.

To test how this would affect consumers, I followed these steps:

  1. Update the Example Xcode project to depend on lottie-spm via the github.com repo, using version 4.4.0.
  2. Verify that the app could build and successfully.
  3. Update the Example Xcode project to depend on the rename-to-LottieSPM branch.
    • (I temporarily pushed a copy of your PR changes to the rename-to-LottieSPM branch in this repo)
  4. Observe that the build now fails, with 🛑 Missing package product 'Lottie'.

Since this change can cause a build failure for existing consumers, we should leave it as-is.

@calda calda closed this Feb 1, 2024
@calda
Copy link
Member

calda commented Feb 1, 2024

SPM module aliasing may help resolve any naming conflicts you're encountering: https://github.com/apple/swift-evolution/blob/main/proposals/0339-module-aliasing-for-disambiguation.md

@mBellar
Copy link
Author

mBellar commented Feb 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants